//
// Created on 2024/10/15.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef SVGADEMO_CREATEPIXELMAP_H
#define SVGADEMO_CREATEPIXELMAP_H

#include <hilog/log.h>
#include <multimedia/image_framework/image/image_source_native.h>
#include "multimedia/image_framework/image/pixelmap_native.h"

#include "vector"
#include "string"
  #undef LOG_DOMAIN
   #undef LOG_TAG
   #define LOG_DOMAIN 0x3200
   #define LOG_TAG "MY_TAG"
napi_value createPixelMap(napi_env env, const std::vector<uint8_t>& byteArray);
const std::string base64_chars =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
        "abcdefghijklmnopqrstuvwxyz"
        "0123456789+/";
std::string TransformByte(const std::string &input);
#endif //SVGADEMO_CREATEPIXELMAP_H
